
<div class="commonsearch-table">
    <form class="form-horizontal form-commonsearch nice-validator n-default" role="form" action="" novalidate="novalidate">
        <fieldset>
            <div class="row">
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label for="community_code" class="control-label col-xs-4">{:__('Community')}</label>
                    <div class="col-xs-12 col-sm-8">
                        <select id="community_code" class="form-control selectpicker show-tick" name="query[community_code]" data-live-search="true">
                            <option value="" {in name="query.community_code" value=""}selected{/in}>全部</option>
                            {foreach name="community" item="vo"}
                            <option value="{$vo.code}">{$vo.name}</option>
                            {/foreach}
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">{:__('Building')}:</label>
                    <div class="col-xs-12 col-sm-6">
                        <select id="building_code" class="form-control" name="query[building_code]">
                        </select>
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">{:__('EnterTime')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <div class="row row-between">
                            <div class="col-xs-6 11" style="position: relative;width:49%;">
                                <input type="text" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" name="query[enter_time_begin]" value="" />
                            </div>
                            <div style="position: relative;float:left;height:30px;line-height:30px;">-</div>
                            <div class="col-xs-6 22" style="position: relative;width:49%;">
                                <input type="text" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" name="query[enter_time_end]" value="" />
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">{:__('OwnerName')}:</label>
                    <div class="col-xs-12 col-sm-8">
                        <input type="text" class="form-control" name="query[owner_name]" value="" />
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <label class="control-label col-xs-4">{:__('OwnerTel')}:</label>
                    <div class="col-xs-12 col-sm-6">
                        <input type="text" class="form-control" name="query[owner_tel]" value="" />
                    </div>
                </div>
                <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
                    <div class="col-sm-8 col-xs-offset-4">
                        <button type="button" class="btn btn-primary" id="common_search">查询</button>
                        <button type="reset" class="btn btn-default">重置</button>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</div>
